<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Gestor Autoescuela | {% block title %}{% endblock %}</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="carlosvillu">
	<!-- Date: 2009-02-07 -->
	<link rel="stylesheet" href="site_media/css/blueprint/screen.css" type="text/css" media="screen, projection">
	<link rel="stylesheet" href="site_media/css/blueprint/print.css" type="text/css" media="print"> 
  <!--[if IE]>
    <link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection">
  <![endif]-->
	<link rel="stylesheet" href="/site_media/css/style.css" type="text/css"/>
	<script src="/site_media/js/jquery/jquery-1.3.2.min.js"></script>
	<script src="/site_media/js/jquery.fancybox/jquery.fancybox-1.2.1.pack.js"></script>
</head>
<body>
	<div class="container">
		<div class="span-24 header">LOGO{% block header %}{% endblock %}</div>
		<div class="content span-24 prepend-top">
			<div class="content">
				{% if not user.is_authenticated %}
					<!-- Capa contenedora de selector -->
					<div class="span-18 prepend-3 append-3 last">
						<div class="notice info">Selecciona Perfil</div>
						<div class="opcion-login">
							<h1>Profesor</h1>
							<h1 class="last">Alumno</h1>
						</div>
					</div>



					<div id="login_form" style="display: none;">
						<form action="." method="post" accept-charset="utf-8">
							<div clas="item_form">
								<label for="username">Usuario</label>
								<input type="text" name="username" value="" id="username"/>
							</div>
							<div clas="item_form">
								<label for="password">Usuario</label>
								<input type="password" name="password" value="" id="password"/>
							</div>
							<input type="hidden" name="next" value="/main" id="next"/>
							<input type="submit" name="login" value="Aceptar" id="login"/>
						</form>
					</div>
				{% else %}
					{% block content %}{% endblock %}
				{% endif %}
			</div>
		</div>
		<div class="span-24 last footer">Copyright{% block footer %}{% endblock %}</div>
	</div>

</body>
</html>